package org.codefinger.dao.impl.sql;

import org.codefinger.dao.impl.SQLVisitor;

public class UValue {

	private UValueItem[]	valueItems;

	private int				paramIndex;

	public UValue(UValueItem[] valueItems, int paramIndex) {
		super();
		this.valueItems = valueItems;
		this.paramIndex = paramIndex;
	}

	public void visit(SQLVisitor visitor) {
		for (UValueItem item : valueItems) {
			item.visit(visitor);
		}
	}

	public int getParamIndex() {
		return paramIndex;
	}

}
